$('#BookIssueForm').submit(function(){
	
	requestPost($(this).attr('action'), $(this).serialize(), function(out){
		
		alert(out.msg);
		
		if(out.status){
			
			$('#BookIssueForm #patronID').val('');
			$('#BookIssueForm #bookid').val('');
			
			
		}
		
	}, 'json');
	
	return false;
});